########################################################################
#                                                                      #
#                          FileManager.py                              #
#                                                                      #
# Version:                                                             #
# 1.0 Alpha - FileCreation + dummy function def                        #
# 1.1 Alpha - Implementation of Version() and LoadFullConf(...)        #
# 1.2 Alpha - Adding file acces tools                                  #
#                                                                      # 
########################################################################

cVersion = '1.2 Alpha'

def LoadFullConf(confName):
    
    LoadedConfiguration = []
    with open(confName) as file:
        for line in file:
            LoadedConfiguration.append(line)
    return LoadedConfiguration

def Version():
    return cVersion

import os
import errno 

def CreateDir(dirName):
    try:
        os.makedirs(dirName)
    except OSError as exception:
        if exception.errno != errno.EEXIST:
            raise
